Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Android x86 Architecture name #2783

Merged
merged 1 commit into from
Oct 30, 2022
Merged

Fix Android x86 Architecture name #2783

merged 1 commit into from
Oct 30, 2022

Conversation

IsaacTCB
Copy link
Contributor

The issue

When using the Android.Makefile that is inside examples for building a project, if chosen Android architecture is x86 then the makefile will create a folder inside lib called i686. However, in order to install, Android actually expects this folder to be called x86.

Basically, the lib\i686\ folder should actually be named lib\x86\ in order to be able to install the app on a x86 Android.

The fix

In order to fix this, I just changed the ANDROID_ARCH_NAME variable from i686 to x86.

Notes

  • The problem also exists in the Android.Makefile on the raylib-game-template repo, so you probably should take a look on that.
  • The Makefile for the raylib library itself doesn't appear to have this issue.

When building a x86 project, the folder inside lib is named i686. However Android x86 actually expects the folder to be called x86.
@raysan5 raysan5 merged commit 4c4a703 into raysan5:master Oct 30, 2022
@raysan5
Copy link
Owner

raysan5 commented Oct 30, 2022

@IsaacTCB thanks for the review!

@IsaacTCB IsaacTCB deleted the patch-1 branch October 30, 2022 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants